package com.demo01.ProducerConsumer.version2;

public class Pair<T> {
    private T num;

    public Pair() {
    }

    public Pair(T num) {
        this.num = num;
    }

    public T getNum() {
        return num;
    }

    public void setNum(T num) {
        this.num = num;
    }
}
